build: strip CFG_PREFIX from CFG_{DATADIR,MANDIR,INFODIR,LIBDIR}
authorDoug Goldstein <cardoe@cardoe.com>
Tue, 28 Jun 2016 21:27:25 +0000 (16:27 -0500)
committerDoug Goldstein <cardoe@cardoe.com>
Wed, 29 Jun 2016 00:02:55 +0000 (19:02 -0500)
commit767086f146a2640166b31d5d72071d542d803ec3
treeabf1c8a77f29b9d8f131be5dcd748e909140b457
parent50dad37437259d696d51d60ddcf4af32d2a4b4c2
build: strip CFG_PREFIX from CFG_{DATADIR,MANDIR,INFODIR,LIBDIR}

While these variables are not yet used by the Makefile, to be used
CFG_PREFIX must be stripped from them. The 'make install' rule creates
a tarball and then the install.sh script extracts it relative to the
prefix argument --prefix, which in the case of a Cargo install is
relative to CFG_PREFIX. This is why CFG_PREFIX needs to be stripped out
of CFG_DATADIR, CFG_MANDIR, CFG_INFODIR, and CFG_LIBDIR.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
configure